 |
 |
 |
 |
#274112 - 05/27/04 12:02 AM
Finished-[6.5] Popup Graemlin Panel
|
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
|
Mod Name / Version: Finished-[6.5] Popup Graemlin Panel <br /> <br />Description: Allows you to limit the number of graemlins to be displayed on the posting pages and gives a link to click "More Graemlins" for a pop-up window where you can select from additional graemlins. <br /> <br /> <br />Working Under: UBB.Threads 6.5 <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: UBB Threads v6.5 <br /> <br />Author(s): JustDave <br /> <br />Date: 05/26/04 <br /> <br />Credits: JoshPet, AllenAyers & Astaran, Scroungr for bug fixes and updates <br /> <br />Files Altered: /templates/default/admin/features.tmpl, /languages/english/admin, /admin/features.php, <br /> /admin/dofeatures.php, /templates/default/ubbt_instant_ubbcode.tmpl, ubbt.inc.php, /languages/english/instant_markup.php, <br />/languages/english/generic.php, /templates/default/quickreply.tmpl <br /> <br /> <br />New Files: graemlinpanel.php <br /> <br />Database Altered: No <br /> <br />Info/Instructions: Essential to keep page load times down and your layout clean if you have lots of graemlins <br /> <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />##ADDED Graemlins to Quickreply Box. <br /> <br />##ADDED WHERE G_Active='1' for active Gramelins only
Attachments
114094-114094-graemlinpanel.6.5.zip (220 downloads)
Edited by scroungr (11/16/04 07:59 AM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#274144 - 10/31/04 04:39 PM
Re: Finished-[6.5] Finished-[6.5] Popup Graemlin Panel
[Re: Duck]
|
Coder
Registered: 09/12/03
Posts: 816
Loc: Hollywood Florida.
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#274145 - 11/02/04 04:36 AM
Re: Finished-[6.5] Finished-[6.5] Popup Graemlin Panel
[Re: sdf123]
|
User
Registered: 05/20/04
Posts: 43
Loc: Indiana, USA
|
I've just tried doing this one, but when changing the ubbt.inc.php file, it wants me to find this code:<br /><br />[]global $config,$myprefs,$thispath,$tempstyle,$ubbt_lang,$debug,$dbh,$user;[/]<br /><br />Our file has it without $user; at the end, so I added it anyway. Once uploaded, I got this error:<br /><br />[]Parse error: parse error, unexpected T_CLASS, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' on line 3086[/]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#274150 - 11/02/04 11:16 AM
Re: Finished-[6.5] Finished-[6.5] Popup Graemlin Panel
[Re: ]
|
Old Hand
Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
|
OK SG thanx <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />basically its just saying to change the line in the instant_ubbcode function<br /><br />to<br />global $config,$myprefs,$thispath,$tempstyle,$ubbt_lang,$debug,$dbh,$user;<br /><br />so look for the <br /><br /> function instant_ubbcode() {<br /><br />and under that try this<br /><br /> global $theme,$config,$myprefs,$thispath,$tempstyle,$ubbt_lang,$debug,$dbh,$user;<br /><br />in place of that global call you see..<br /><br />let me know what happens and if ya want I can try it. thats the line I have on my server. But we may not have the same mods installed.
_________________________
Couchtomatoe - www.couch-tomatoe.ccMy abilities are for hire for installs, upgrades, custom themes and custom modifications.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#274170 - 02/16/05 04:31 AM
Re: Finished-[6.5] Popup Graemlin Panel
[Re: 234234]
|
Veteran
Registered: 02/22/02
Posts: 2575
Loc: England
|
In 6.5.1<br /><br />The directions say ###### In your ubbthreads directory:<br /><br />### Open ubbt.inc.php and change this:<br /><br /> function instant_ubbcode() {<br /><br /> global $config,$myprefs,$thispath,$tempstyle,$ubbt_lang,$debug,$dbh,$user;<br /><br /><br /><br />### to this:<br /><br /> function instant_ubbcode() {<br /><br /> global $theme, $config,$myprefs,$thispath,$tempstyle,$ubbt_lang,$debug,$dbh,$user; <br /><br />This has changed so it now should say ###### In your ubbthreads directory:<br /><br />### Open ubbt.inc.php and change this:<br /><br /> function instant_ubbcode() {<br /><br /> global $config,$myprefs,$thispath,$tempstyle,$ubbt_lang,$debug,$dbh;<br /><br /><br /><br />### to this:<br /><br /> function instant_ubbcode() {<br /><br /> global $theme,$config,$myprefs,$thispath,$tempstyle,$ubbt_lang,$debug,$dbh; <br /><br /><img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|